package com.vhall.component.entity.reward.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xuyongzheng
 * @since 2020/9/18
 **/
@Data
public class RewardPayReqVO {
    @ParamName("app_id")
    @NotBlank(message = "app_id不能为空")
    private String appId;


    @ParamName("trade_no")
    @NotBlank(message = "trade_no不能为空")
    private String tradeNo;

    @ParamName("pay_status")
    @NotNull(message = "pay_status不能为空")
    @Range(min = 1, max = 2)
    private Integer payStatus;

    @ParamName("third_party_trade_no")
    private String thirdPartyTradeNo;

    private String channel;


}
